<?php if ( ! defined('BASEPATH')) exit('No se permite acceso directo vía scripts');
/**
 * Created by IntelliJ IDEA.
 * User: Luciano
 * Date: 07/11/13
 * Time: 18:44
 * To change this template use File | Settings | File Templates.
 */

$config=array(
	'usuario/alta' => array(
		array(
			'field' => 'user',
			'label' => 'Usuario',
			'rules' => 'required|min_length[5]|max_length[15]|alpha_dash'
		),
		array(
			'field' => 'password',
			'label' => 'Contraseña',
			'rules' => 'required'
		),
		array(
			'field' => 'passwordConf',
			'label' => 'Confirmar Contraseña',
			'rules' => 'required|matches[password]'
		),
		array(
			'field' => 'email',
			'label' => 'e-Mail',
			'rules' => 'required|valid_email'
		)
	)
);